package command;

import domain.Confirmation;

public class ConfirmationForm {

	private Confirmation.Calification calification;
	private String comment;
	private Confirmation.Confirmated confirmation;
	
	public Confirmation.Calification getCalification() {
		return calification;
	}

	public void setCalification(Confirmation.Calification calification) {
		this.calification = calification;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Confirmation.Confirmated getConfirmation() {
		return confirmation;
	}

	public void setConfirmation(Confirmation.Confirmated confirmation) {
		this.confirmation = confirmation;
	}

	
	
	public ConfirmationForm(){}
	
	public void setBuyerConfirmation(Confirmation conf){
		this.calification = conf.getPoints();
		this.comment = conf.getComment();
		this.confirmation = conf.getBuyerConfirmation();
	}
	
	public void setSellerConfirmation(Confirmation conf){
		this.confirmation = conf.getSellerConfirmation();
	}
	
	
	
}
